<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
	// 검색
	function searchAll(){
		var f=document.all_search_form;
		f.submit();
	}
</script>
</head>
<body>
&nbsp;&nbsp;
<a href="${pageContext.request.contextPath }/index.jsp">
전체보기
</a><br><br>
<!-- 모든 게시판을 대상으로 검색하기 (방명록 제외) -->
<form action="${pageContext.request.contextPath }/cafe.do" name="all_search_form" >
	<input type="hidden" name="command" value="searchAllBoard">
	<input type="hidden" name="view" value="15">
	<input type="hidden" name="type" value="paging">
	<table border="0"  width="100%" >
		<tr>
			<td align="right" width="85%">
			<select id="searchKind" name="searchKind">
				<option value="all">제목+내용</option>
				<option value="title">제목만</option>
				<option value="writer">글작성자</option>
			</select>
			</td>
			<td align="right" width="10%">
				<input type="text" name="str" >
			</td>
			<td align="right" width="5%">
				<input type="image" src="img/cafe/search.PNG" onclick="searchAll()">
			</td>
		</tr>
	</table>
</form>
</body>